package com.project.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.project.domain.entity.BizProjectApplyInfo;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Created by cw13031$ on 2025/2/6.
 * Description:
 */
@Data
public class BizProjectApplyInfoVo extends BizProjectApplyInfo {
//    private String BEGIN_DATE_FORMAT;
    private String beginDate1;
    private String beginDate2;

//    private String END_DATE_FORMAT;
    private String endDate1;
    private String endDate2;

    private List<String> applyStateList;
    private List<String> projectTypeIdList;

    private Integer pageSize;
    private Integer pageNum;
    private String orderByColumn = "info.CREATEDATE";
    private String isAsc = "desc";

    //逻辑和 {@link BpmParallelMultiInstanceBehavior#resolveNrOfInstances(DelegateExecution)} 类似
    /**
     * {@link com.project.controller.ProjectApplyController#listV2(BizProjectApplyInfoVo)} 需要用到当前用户角色，因此添加此字段
     */
    private String roleKey;
}
